{% extends 'evaluate/admin/adminBase.html' %}
{%block right_views%}
 <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <span>教师教学质量评估</span>
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">                    
                              <div class="row">
                                <div class="col-sm-12">
                                  <table width="100%" class="table table-striped table-bordered table-hover dataTable no-footer dtr-inline" id="dataTables-example" role="grid" aria-describedby="dataTables-example_info" style="width: 100%;">
                                  <thead>
                                    <tr role="row">
                                      <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Rendering engine: activate to sort column ascending" style="width: 174px;">教师工号</th>
                                      <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Rendering engine: activate to sort column ascending" style="width: 174px;">教师姓名</th>
                                      <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending" style="width: 180px;">课程名称</th>
                                      <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 160px;">课程属性</th>
                                       <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 183px;">综合得分(满分5分)</th>
                                      <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending" style="width: 151px;">学生及格率</th>
                                      <th class="sorting_desc" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending" style="width: 151px;" aria-sort="descending">学生优秀率(>90分)</th>
                                    </tr>
                                </thead>
                                <tbody> 
                                {% for v in result_lsit %}
                                <tr class="gradeX odd" role="row">
                                        <td class="">{{v.t_id}}</td>
                                        <td class="">{{v.t_name}}</td>
                                        <td class="">{{v.course}}</td>
                                        <td class="">{{v.course_type}}</td>
                                        <td class="center">
                                          <span style="margin: 10px">{{v.grade}}</span>
                                          {% if v.grade_abs == 'up' %}
                                          <span style="margin: 10px">较去年上升{{v.grade_change}}%</span>
                                          {% else %}
                                          <span style="margin: 10px">较去年下降{{v.grade_change}}%</span>
                                          {% endif %}
                                        </td>
                                        <td class="center sorting_1">
                                          {{v.conformity}}%
                                          {% if v.conformity_abs == 'up' %} 
                                          <span style="margin: 10px">较去年上升{{v.conformity_change}}%</span> 
                                          {% else %}
                                          <span style="margin: 10px">较去年下降{{v.conformity_change}}%</span> 
                                          {% endif %}
                                        </td>
                                        <td class="center sorting_1">
                                          {{v.excellent}}%
                                          {% if v.excellent_abs == 'up' %}
                                          <span style="margin: 10px">较去年上升{{v.excellent_change}}%</span>
                                          {% else %}
                                          <span style="margin: 10px">较去年下降{{v.excellent_change}}%</span>
                                          {% endif %}
                                        </td>
                                </tr>
                              {% endfor %}
                                </tbody>
                                </table>
                              </div>
                            </div>
                           <!--  <div class="row"><div class="col-sm-6"></div><div class="col-sm-6"><div class="dataTables_paginate paging_simple_numbers" id="dataTables-example_paginate"><ul class="pagination"><li class="paginate_button previous disabled" aria-controls="dataTables-example" tabindex="0" id="dataTables-example_previous"><a href="#">上一页</a></li><li class="paginate_button active" aria-controls="dataTables-example" tabindex="0"><a href="#">1</a></li><li class="paginate_button " aria-controls="dataTables-example" tabindex="0"><a href="#">2</a></li><li class="paginate_button " aria-controls="dataTables-example" tabindex="0"><a href="#">3</a></li><li class="paginate_button " aria-controls="dataTables-example" tabindex="0"><a href="#">4</a></li><li class="paginate_button " aria-controls="dataTables-example" tabindex="0"><a href="#">5</a></li><li class="paginate_button " aria-controls="dataTables-example" tabindex="0"><a href="#">6</a></li><li class="paginate_button next" aria-controls="dataTables-example" tabindex="0" id="dataTables-example_next"><a href="#">下一页</a></li></ul></div></div></div> --></div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
   

    <!-- Page-Level Demo Scripts - Tables - Use for reference -->

</div>
{% endblock %}
{% block staticS%}

{% endblock%}
  
